import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    //根据条件分页查询月度计划
    getmonthPlanList (params) {
        return httpPost({
            url: '/material/monthPlan/listByEntity',
            params
        })
    },
    //新增月度计划
    AddMonthPlan (params) {
        return httpPost({
            url: '/material/monthPlan/create',
            params
        })
    },
    //修改月计划基本信息
    updateMonthPlan (params) {
        return httpPost({
            url: '/material/monthPlan/update',
            params
        })
    },
    //修改月度计划明细
    updateMonthPlanDetail (params) {
        return httpPost({
            url: '/material/monthPlan/updateList',
            params
        })
    },
    //新增月计划变更
    AddmonthPlanChanged (params) {
        return httpPost({
            url: '/material/monthPlanChanged/create',
            params
        })
    },
    //修改月度计划变更
    EditmonthPlanChanged (params) {
        return httpPost({
            url: '/material/monthPlanChanged/update',
            params
        })
    },
    //修改月度计划变更明细
    EditmonthPlanChangedList (params) {
        return httpPost({
            url: '/material/monthPlanChanged/updateList',
            params
        })
    },

}

export default request